package com.beibie.yunpicturebackend.controller;

import com.beibie.yunpicturebackend.common.BaseResponse;
import com.beibie.yunpicturebackend.common.ResultUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by IntelliJ IDEA.
 * User: 北别
 * Date: 2025-01-30
 * Description: 健康检查
 * Version: 1.0
 */

@RestController
@RequestMapping("/")
public class MainController {


    @RequestMapping("/health")
    public BaseResponse<String> helath() {
        return ResultUtils.success("ok");
    }
}
